import request from "../utils/request.js";

export function getDefaultText() {
  return request({
    url: "/search/default-text",
  });
}

/**
 * 热搜搜索列表
 */
export function getSearchHotList() {
  return request({
    url: "/search/hot-list",
  });
}

/**
 * 搜索结果
 */
export function getSearchResult(data) {
  return request({
    url: "/search",
    data,
  });
}
